package com.youth.youthservice.entity.vo.annoVo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

@Data
@ApiModel(value = "公告基本信息",description = "公告发布的时候使用")
public class AnnouncementVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公告id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "公告标题")
    private String title;

    @ApiModelProperty(value = "公告内容")
    private String contentText;

    @ApiModelProperty(value = "公告附属图片")
    private String image;


    @ApiModelProperty(value = "公告优先级(1表示一级公告、2表示二级公告，3表示三级公告)")
    private Integer priority;

    @ApiModelProperty(value = "用户类型：1老师 2学生")
    private Integer userType;

    @ApiModelProperty(value = "学生id集合")
    private ArrayList<String> stuArrays=new ArrayList<String>();


}